<?php

class Configuracion {

    private $cnf = array();

    function __construct(){
    
        //TODO Leer de un archivo
        $this->cnf['DB_HOST']='localhost';
        $this->cnf['DB_PORT']='8889';
        $this->cnf['DB_USER']='root';
        $this->cnf['DB_PASSWORD']='admin';
        $this->cnf['DB_DRIVER']='mysql';
        $this->cnf['DB_DATABASE']='bossfit';
        $this->cnf['DEBUG']=true;
        
    }
    
    public function get($token){
        return $this->cnf[$token];
    }
    
    public function set($token, $value){
        $this->cnf[$token] = $value;
    }        
}

?>
